package AbstractRational;

//import RationalPackaging.Rational.*;

public class Muti extends Operating{

	public Muti(){
		
	}
	public Muti(int a,int b){
		super(a,b);
	}
	public Operating yunsuan(Operating r){
		int a=r.getNumerator();
		int b=r.getDenominator();
		int newNumerator=numerator*a;
		int newDenominator=denominator*b;
		Muti result=new Muti(newNumerator,newDenominator);
		return result;
	}
}
